package cn.tedu.store.temperatureDetection.mapper;

import cn.tedu.store.temperatureDetection.entity.EmployeeTemperature;
import cn.tedu.store.temperatureDetection.entity.dto.EmployeeDto;
import cn.tedu.store.temperatureDetection.entity.dto.EmployeeTemperatureDto;
import com.baomidou.dynamic.datasource.annotation.DS;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author 75936
 * @version 1.0
 * @project demo_hesuan
 * @description
 * @date 2022-11-28 19:23:31
 */
@Mapper
@DS("master")
public interface EmployeeTemperatureMapper {
    void addEmployeeTemperature(EmployeeTemperature employeeTemperature);

    List<EmployeeTemperatureDto> finfCount(@RequestParam("emplCode") String emplCode, @RequestParam("emplName")String emplName);

    List<EmployeeDto> findEmployee(@RequestParam("emplCode") String emplCode, @RequestParam("emplName")String emplName);
}
